/*
 * Copyright (C) 2021  FunGuide, Inc. All Rights Reserved.
 */


package com.yxw.springcloud.handler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.yxw.springcloud.model.CommonResult;

/**
 * Simple to Introduction
 * className: CustomerBlockHandler
 *
 * @author yanxw
 * @version 2021/5/7 9:16 下午
 */


public class CustomerBlockHandler {


    public static CommonResult handlerException(BlockException exception){
        return new CommonResult(4444,"按客户自定义，global handlerException-----1");
    }


    public static CommonResult handlerException2(BlockException exception){
        return new CommonResult(4444,"按客户自定义，global handlerException-----2");
    }
}

